

import 'package:json_annotation/json_annotation.dart';

part 'identify_info.g.dart';
@JsonSerializable()
class IdentifyInfo {
  String image;
  String address;
  String name;
  String idCardNumber;
  String birthDate;
  String sex;
  String nation;

  IdentifyInfo(this.image, this.address, this.name, this.idCardNumber,
      this.birthDate, this.sex, this.nation);

  factory IdentifyInfo.fromJson(Map<String, dynamic> json) => _$IdentifyInfoFromJson(json);

  Map<String, dynamic> toJson() => _$IdentifyInfoToJson(this);
}